<!DOCTYPE html>
<html lang="en" >
<head>
    <meta charset="UTF-8" >
    <title>Title</title>

    <script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
       支付界面
        <a href="/shop/alipay?oid=20150320010101001">支付宝支付</a>
        <div id ="ck">点我</div>
</body>

    <script type="text/javascript">
        $(function () {
            $("#ck").click(function () {
                var Jstr= {
                    "alipay_trade_page_pay_response": {
                        "code": "10000",
                        "msg": "Success",
                        "trade_no": "2013112011001004330000121536",
                        "out_trade_no": "6823789339978248",
                        "seller_id": "2088111111116894",
                        "total_amount": 128,
                        "merchant_order_no": "20161008001"
                    },
                    "sign": "ERITJKEIJKJHKKKKKKKHJEREEEEEEEEEEE"
                };
                console.log(Jstr);

                var str=JSON.stringify(Jstr);
                console.log(str);
            })





        })


    </script>
</html>